package com.datasource;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * @Author fyy
 * @Description
 * @Date 2020/6/4 9:13
 */
//去除springboot的DataSource的自动配置
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@MapperScan({"com.datasource"})
public class DataSourceApplication {

    public static void main(String[] args) {
        SpringApplication.run(DataSourceApplication.class,args);
    }

}
